Skip to content

Conversation

@przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Sep 23, 2025

5 instances of SampleXXXAggregatorFunctionTests.testSimpleWithCranky test started failing after merging #134140.
This PR fixes it by making sure the memory clearing line:

                        values.set(start, null);

is performed under finally block of the try-with-resources statement.

Fixes #134918

Marking >non-issue as this is a fix for a change (#134140) that has not been released yet.

@przemekwitek przemekwitek added the :Analytics/Compute Engine Analytics in ES|QL label Sep 23, 2025
@elasticsearchmachine elasticsearchmachine added v9.2.0 Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Sep 23, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@przemekwitek przemekwitek added :Analytics/EQL EQL querying >non-issue and removed Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/Compute Engine Analytics in ES|QL labels Sep 23, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Sep 23, 2025
@przemekwitek przemekwitek added :Analytics/ES|QL AKA ESQL and removed :Analytics/EQL EQL querying labels Sep 23, 2025
@przemekwitek przemekwitek changed the title Fix testSimpleWithCranky test Fix SampleXXXAggregatorFunctionTests.testSimpleWithCranky test Sep 23, 2025
Copy link
Contributor

@jan-elastic jan-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@przemekwitek przemekwitek merged commit e7b8327 into elastic:main Sep 23, 2025
34 checks passed
@przemekwitek przemekwitek deleted the fix_testSimpleWithCranky branch September 23, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >non-issue Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SampleBooleanAggregatorFunctionTests.testSimpleWithCranky fails

3 participants